<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<title>{$this->_siteConfig->name}</title>
	{js:jquery}
	{js:validate}
	{js:dialog}
	{js:artTemplate}
	{js:form}
	<link type="image/x-icon" href="{webroot:favicon.ico}" rel="icon">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<link href="{webroot:public/css/twitter-bootstrap/4.1.3/css/bootstrap.min.css}" rel="stylesheet">
	<script type='text/javascript' src='{webroot:public/javascript/twitter-bootstrap/4.1.3/js/bootstrap.min.js}'></script>
	<link href="{webroot:public/css/font-awesome/4.7.0/css/font-awesome.min.css}" rel="stylesheet">
</head>

<body>
	<!--顶部导航 开始-->
	<nav class="navbar navbar-expand-md navbar-light bg-light">
        <span class="navbar-brand" title="{$sellerRow['true_name']}">{$sellerRow['true_name']}</span>

	    <div class="collapse navbar-collapse">
	        <span class="navbar-text mr-4">
	            {echo:join(' ',area::name($sellerRow['province'],$sellerRow['city'],$sellerRow['area']))}
	        </span>

    		<span class="navbar-text">
    		    {$sellerRow['phone']}
    		    {set:plugin::trigger("onServiceButton",$sellerRow['id'])}
    		</span>

			<ul class="navbar-nav ml-auto">
				{if:$this->user}
				<li class="nav-item"><a class="nav-link" href="{url:/simple/logout}">您好{echo:$this->user['username']}，<span class="glyphicon glyphicon-log-out"></span> 安全退出</a></li>
				{else:}
				<li class="nav-item"><a class="nav-link" href="{url:/simple/login}">登录</a></li>
				<li class="nav-item"><a class="nav-link" href="{url:/simple/reg}">注册</a></li>
				{/if}
				<li class="nav-item"><a class="nav-link" href="{url:/ucenter/index}">我的账户</a></li>
				<li class="nav-item"><a class="nav-link" href="{url:}">平台首页</a></li>
			</ul>
	    </div>
	</nav>
	<!--顶部导航 结束-->

	<!--店铺模板 开始-->
	{viewcontent}
	<!--店铺模板 结束-->

	<!--页脚 开始-->
	<div class="container-fluid">
		<hr/>
		{echo:IFilter::stripSlash($this->_siteConfig->site_footer_code)}
	</div>
	<!--页脚 结束-->

    <!--底部导航 开始-->
    <div class="fixed-bottom bg-light d-sm-none row text-center py-1">
        <div class="col"><a href="{url:/site/index}" class="text-dark"><i class="fa fa-home fa-lg"></i><div>首页</div></a></div>
        <div class="col"><a href="{url:/site/sitemap}" class="text-dark"><i class="fa fa-reorder fa-lg"></i><div>分类</div></a></div>
        <div class="col"><a href="{url:/simple/cart}" class="text-dark"><i class="fa fa-shopping-cart fa-lg"></i><div>购物车</div></a></div>
        <div class="col"><a href="{url:/ucenter/index}" class="text-dark"><i class="fa fa-user fa-lg"></i><div>我的</div></a></div>
    </div>
    <!--底部导航 结束-->
</body>
</html>
